/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * MaskInterr.java
 *
 * Created on 29.09.2011., 17.37.53
 */
package aor2.gui.cpu;

import aor2.cpu.blockcontrol.ConditionSignalSet;
import aor2.cpu.blockinterrupt.ExternInterruptBoard;
import aor2.cpu.blockinterrupt.InterruptBlock;
import aor2.cpu.blockoperation.Psw;
import java.awt.Graphics;

/**
 * 
 * @author Moxi
 */
public class MaskInterr extends javax.swing.JPanel {

	private static MaskInterr singleton = null;

	public static MaskInterr getInstance() {
		if (singleton == null)
			singleton = new MaskInterr();
		return singleton;
	}

	/** Creates new form MaskInterr */
	private MaskInterr() {
		initComponents();
		imr1 = new JLabelSet(false, jLabel2, jLabel31);
		imr2 = new JLabelSet(false, jLabel5, jLabel29);
		imr3 = new JLabelSet(false, jLabel7, jLabel27);

		prirr1 = new JLabelSet(false, jLabel3, jLabel32);
		prirr2 = new JLabelSet(false, jLabel4, jLabel30);
		prirr3 = new JLabelSet(false, jLabel6, jLabel28);

		irm1 = new JLabelSet(false, jLabel10, jLabel24, jLabel25, jLabel35);
		irm2 = new JLabelSet(false, jLabel9, jLabel23, jLabel26, jLabel34);
		irm3 = new JLabelSet(false, jLabel8, jLabel22, jLabel33);

		imrprirr = new JLabelSet(false, jLabel15, jLabel36);
		accprirr = new JLabelSet(false, jLabel16, jLabel37);
		pswi = new JLabelSet(false, jLabel19, jLabel17, jLabel40);

		prl0 = new JLabelSet(false, jLabel11, jLabel13, jLabel38);
		prl1 = new JLabelSet(false, jLabel12, jLabel14, jLabel39);
	}

	@Override
	protected void paintComponent(Graphics g) {
		ExternInterruptBoard eib = InterruptBlock.getInstance().getExtInterr();
		InterruptBlock ib = InterruptBlock.getInstance();
		imr1.setEnabled(ib.getImr().imr1());
		imr2.setEnabled(ib.getImr().imr2());
		imr3.setEnabled(ib.getImr().imr3());

		prirr1.setEnabled(eib.getQprirr1().isActive());
		prirr2.setEnabled(eib.getQprirr2().isActive());
		prirr3.setEnabled(eib.getQprirr3().isActive());

		irm1.setEnabled(ib.isIrm1());
		irm2.setEnabled(ib.isIrm2());
		irm3.setEnabled(ib.isIrm3());

		primm.setEnabled(ConditionSignalSet.getInstance().get("PRIMM")
				.isActive());

		pswi.setEnabled(Psw.getInstance().bitI());
		pswl0.setEnabled(Psw.getInstance().bitL0());
		pswl1.setEnabled(Psw.getInstance().bitL1());

		prl0.setEnabled(ib.isPrL0());
		prl1.setEnabled(ib.isPrL1());
		super.paintComponent(g);
	}

	private JLabelSet prirr1, prirr2, prirr3, imr1, imr2, imr3, irm1, irm2,
			irm3, imrprirr, accprirr, pswi, prl0, prl1;

	/**
	 * This method is called from within the constructor to initialize the form.
	 * WARNING: Do NOT modify this code. The content of this method is always
	 * regenerated by the Form Editor.
	 */
	@SuppressWarnings("unchecked")
	// <editor-fold defaultstate="collapsed"
	// desc="Generated Code">//GEN-BEGIN:initComponents
	private void initComponents() {
		java.awt.GridBagConstraints gridBagConstraints;

		jLayeredPane1 = new javax.swing.JLayeredPane();
		jLabel2 = new javax.swing.JLabel();
		jLabel3 = new javax.swing.JLabel();
		jLabel4 = new javax.swing.JLabel();
		jLabel5 = new javax.swing.JLabel();
		jLabel6 = new javax.swing.JLabel();
		jLabel7 = new javax.swing.JLabel();
		jLabel8 = new javax.swing.JLabel();
		jLabel9 = new javax.swing.JLabel();
		jLabel10 = new javax.swing.JLabel();
		jLabel11 = new javax.swing.JLabel();
		jLabel12 = new javax.swing.JLabel();
		jLabel13 = new javax.swing.JLabel();
		jLabel14 = new javax.swing.JLabel();
		jLabel15 = new javax.swing.JLabel();
		jLabel16 = new javax.swing.JLabel();
		jLabel17 = new javax.swing.JLabel();
		primm = new javax.swing.JLabel();
		jLabel19 = new javax.swing.JLabel();
		pswl0 = new javax.swing.JLabel();
		pswl1 = new javax.swing.JLabel();
		jLabel22 = new javax.swing.JLabel();
		jLabel23 = new javax.swing.JLabel();
		jLabel24 = new javax.swing.JLabel();
		jLabel25 = new javax.swing.JLabel();
		jLabel26 = new javax.swing.JLabel();
		jLabel27 = new javax.swing.JLabel();
		jLabel28 = new javax.swing.JLabel();
		jLabel29 = new javax.swing.JLabel();
		jLabel30 = new javax.swing.JLabel();
		jLabel31 = new javax.swing.JLabel();
		jLabel32 = new javax.swing.JLabel();
		jLabel33 = new javax.swing.JLabel();
		jLabel34 = new javax.swing.JLabel();
		jLabel35 = new javax.swing.JLabel();
		jLabel36 = new javax.swing.JLabel();
		jLabel37 = new javax.swing.JLabel();
		jLabel38 = new javax.swing.JLabel();
		jLabel39 = new javax.swing.JLabel();
		jLabel40 = new javax.swing.JLabel();
		jLabel18 = new javax.swing.JLabel();
		jLabel1 = new javax.swing.JLabel();

		setLayout(new java.awt.GridBagLayout());

		jLabel2.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		jLabel2.setText("jLabel2");
		jLabel2.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		jLabel2.setBounds(140, 166, 228, 8);
		jLayeredPane1.add(jLabel2, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel3.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		jLabel3.setText("jLabel3");
		jLabel3.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		jLabel3.setBounds(391, 166, 148, 8);
		jLayeredPane1.add(jLabel3, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel4.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		jLabel4.setText("jLabel4");
		jLabel4.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		jLabel4.setBounds(307, 190, 230, 8);
		jLayeredPane1.add(jLabel4, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel5.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		jLabel5.setText("jLabel5");
		jLabel5.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		jLabel5.setBounds(140, 190, 150, 8);
		jLayeredPane1.add(jLabel5, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel6.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		jLabel6.setText("jLabel6");
		jLabel6.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		jLabel6.setBounds(225, 214, 313, 8);
		jLayeredPane1.add(jLabel6, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel7.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		jLabel7.setText("jLabel7");
		jLabel7.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		jLabel7.setBounds(140, 210, 60, 8);
		jLayeredPane1.add(jLabel7, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel8.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		jLabel8.setText("jLabel8");
		jLabel8.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		jLabel8.setBounds(210, 297, 345, 8);
		jLayeredPane1.add(jLabel8, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel9.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		jLabel9.setText("jLabel9");
		jLabel9.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		jLabel9.setBounds(222, 334, 325, 8);
		jLayeredPane1.add(jLabel9, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel10.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		jLabel10.setText("jLabel10");
		jLabel10.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		jLabel10.setBounds(238, 381, 310, 8);
		jLayeredPane1.add(jLabel10, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel11.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		jLabel11.setText("jLabel11");
		jLabel11.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		jLabel11.setBounds(451, 587, 145, 8);
		jLayeredPane1.add(jLabel11, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel12.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		jLabel12.setText("jLabel12");
		jLabel12.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		jLabel12.setBounds(500, 634, 100, 8);
		jLayeredPane1.add(jLabel12, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel13.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		jLabel13.setText("jLabel13");
		jLabel13.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		jLabel13.setBounds(253, 634, 200, 8);
		jLayeredPane1.add(jLabel13, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel14.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		jLabel14.setText("jLabel14");
		jLabel14.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		jLabel14.setBounds(253, 682, 248, 8);
		jLayeredPane1.add(jLabel14, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel15.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		jLabel15.setText("jLabel15");
		jLabel15.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		jLabel15.setBounds(152, 502, 73, 8);
		jLayeredPane1.add(jLabel15, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel16.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		jLabel16.setText("jLabel16");
		jLabel16.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		jLabel16.setBounds(152, 514, 58, 8);
		jLayeredPane1.add(jLabel16, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel17.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		jLabel17.setText("jLabel17");
		jLabel17.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		jLabel17.setBounds(152, 526, 25, 8);
		jLayeredPane1.add(jLabel17, javax.swing.JLayeredPane.DEFAULT_LAYER);

		primm.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		primm.setText("jLabel18");
		primm.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		primm.setBounds(52, 514, 65, 8);
		jLayeredPane1.add(primm, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel19.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		jLabel19.setText("jLabel19");
		jLabel19.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		jLabel19.setBounds(105, 550, 71, 8);
		jLayeredPane1.add(jLabel19, javax.swing.JLayeredPane.DEFAULT_LAYER);

		pswl0.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		pswl0.setText("jLabel20");
		pswl0.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		pswl0.setBounds(68, 634, 97, 8);
		jLayeredPane1.add(pswl0, javax.swing.JLayeredPane.DEFAULT_LAYER);

		pswl1.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		pswl1.setText("jLabel21");
		pswl1.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		pswl1.setBounds(68, 682, 97, 8);
		jLayeredPane1.add(pswl1, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel22.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		jLabel22.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		jLabel22.setBounds(523, 302, 8, 150);
		jLayeredPane1.add(jLabel22, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel23.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		jLabel23.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		jLabel23.setBounds(499, 338, 8, 112);
		jLayeredPane1.add(jLabel23, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel24.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		jLabel24.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		jLabel24.setBounds(475, 385, 8, 67);
		jLayeredPane1.add(jLabel24, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel25.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		jLabel25.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		jLabel25.setBounds(379, 270, 8, 115);
		jLayeredPane1.add(jLabel25, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel26.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		jLabel26.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		jLabel26.setBounds(301, 265, 8, 73);
		jLayeredPane1.add(jLabel26, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel27.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		jLabel27.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		jLabel27.setBounds(200, 215, 8, 28);
		jLayeredPane1.add(jLabel27, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel28.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		jLabel28.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		jLabel28.setBounds(223, 215, 8, 28);
		jLayeredPane1.add(jLabel28, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel29.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		jLabel29.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		jLabel29.setBounds(290, 195, 8, 35);
		jLayeredPane1.add(jLabel29, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel30.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		jLabel30.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		jLabel30.setBounds(307, 195, 8, 35);
		jLayeredPane1.add(jLabel30, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel31.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		jLabel31.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		jLabel31.setBounds(367, 170, 8, 62);
		jLayeredPane1.add(jLabel31, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel32.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		jLabel32.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		jLabel32.setBounds(391, 171, 8, 60);
		jLayeredPane1.add(jLabel32, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel33.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		jLabel33.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		jLabel33.setBounds(211, 280, 8, 145);
		jLayeredPane1.add(jLabel33, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel34.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		jLabel34.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		jLabel34.setBounds(223, 340, 8, 85);
		jLayeredPane1.add(jLabel34, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel35.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		jLabel35.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		jLabel35.setBounds(238, 385, 8, 40);
		jLayeredPane1.add(jLabel35, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel36.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		jLabel36.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		jLabel36.setBounds(223, 478, 8, 28);
		jLayeredPane1.add(jLabel36, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel37.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		jLabel37.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		jLabel37.setBounds(208, 518, 8, 96);
		jLayeredPane1.add(jLabel37, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel38.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		jLabel38.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		jLabel38.setBounds(451, 565, 8, 73);
		jLayeredPane1.add(jLabel38, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel39.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		jLabel39.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		jLabel39.setBounds(499, 565, 8, 122);
		jLayeredPane1.add(jLabel39, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel40.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		jLabel40.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		jLabel40.setBounds(175, 530, 8, 25);
		jLayeredPane1.add(jLabel40, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel18.setBorder(javax.swing.BorderFactory
				.createTitledBorder("masirajuci prekidi"));
		jLabel18.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
		jLabel18.addMouseListener(new java.awt.event.MouseAdapter() {
			public void mouseClicked(java.awt.event.MouseEvent evt) {
				jLabel18MouseClicked(evt);
			}
		});
		jLabel18.setBounds(500, 120, 120, 130);
		jLayeredPane1.add(jLabel18, javax.swing.JLayeredPane.DEFAULT_LAYER);

		gridBagConstraints = new java.awt.GridBagConstraints();
		gridBagConstraints.gridx = 0;
		gridBagConstraints.gridy = 0;
		gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
		gridBagConstraints.weightx = 1.0;
		gridBagConstraints.weighty = 1.0;
		add(jLayeredPane1, gridBagConstraints);

		jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/Maskiranje.jpg"))); // NOI18N
		gridBagConstraints = new java.awt.GridBagConstraints();
		gridBagConstraints.gridx = 0;
		gridBagConstraints.gridy = 0;
		gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
		gridBagConstraints.weightx = 1.0;
		gridBagConstraints.weighty = 1.0;
		add(jLabel1, gridBagConstraints);
	}// </editor-fold>//GEN-END:initComponents

	private void jLabel18MouseClicked(java.awt.event.MouseEvent evt) {// GEN-FIRST:event_jLabel18MouseClicked
		CpuFrame cpu = CpuFrame.getInstance();
		cpu.setCentralPane(ExtInterrPanel.getInstance());
		cpu.repaint();
	}// GEN-LAST:event_jLabel18MouseClicked

	// Variables declaration - do not modify//GEN-BEGIN:variables
	private javax.swing.JLabel jLabel1;
	private javax.swing.JLabel jLabel10;
	private javax.swing.JLabel jLabel11;
	private javax.swing.JLabel jLabel12;
	private javax.swing.JLabel jLabel13;
	private javax.swing.JLabel jLabel14;
	private javax.swing.JLabel jLabel15;
	private javax.swing.JLabel jLabel16;
	private javax.swing.JLabel jLabel17;
	private javax.swing.JLabel jLabel18;
	private javax.swing.JLabel jLabel19;
	private javax.swing.JLabel jLabel2;
	private javax.swing.JLabel jLabel22;
	private javax.swing.JLabel jLabel23;
	private javax.swing.JLabel jLabel24;
	private javax.swing.JLabel jLabel25;
	private javax.swing.JLabel jLabel26;
	private javax.swing.JLabel jLabel27;
	private javax.swing.JLabel jLabel28;
	private javax.swing.JLabel jLabel29;
	private javax.swing.JLabel jLabel3;
	private javax.swing.JLabel jLabel30;
	private javax.swing.JLabel jLabel31;
	private javax.swing.JLabel jLabel32;
	private javax.swing.JLabel jLabel33;
	private javax.swing.JLabel jLabel34;
	private javax.swing.JLabel jLabel35;
	private javax.swing.JLabel jLabel36;
	private javax.swing.JLabel jLabel37;
	private javax.swing.JLabel jLabel38;
	private javax.swing.JLabel jLabel39;
	private javax.swing.JLabel jLabel4;
	private javax.swing.JLabel jLabel40;
	private javax.swing.JLabel jLabel5;
	private javax.swing.JLabel jLabel6;
	private javax.swing.JLabel jLabel7;
	private javax.swing.JLabel jLabel8;
	private javax.swing.JLabel jLabel9;
	private javax.swing.JLayeredPane jLayeredPane1;
	private javax.swing.JLabel primm;
	private javax.swing.JLabel pswl0;
	private javax.swing.JLabel pswl1;
	// End of variables declaration//GEN-END:variables
}
